package cn.easier.activity.console.repository;

import cn.easier.activity.console.entity.ActivityRoleUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 后台用户 Repository
 */
@Repository
public interface ActivityRoleUserRepository extends JpaRepository<ActivityRoleUser, Integer> {
    List<ActivityRoleUser> findByUsername(String username);
}
